Skip to content

Conversation

jiripudil
Copy link
Contributor

As requested in #3457 (comment)

I hope this is all. The make-optional-parameters-required.php script didn't produce any changes in the code that I'd touched.

jiripudil and others added 4 commits October 9, 2024 09:35
Co-authored-by: Richard van Velzen <[email protected]>
Co-authored-by: Richard van Velzen <[email protected]>
The functionality was introduced in phpstan#1628. It works. But as soon as you use an inline assign
expression it breaks. Let's support this case too.

Sometimes, you want to call something inline and also use the callback later.
@ondrejmirtes ondrejmirtes merged commit 5d59d11 into phpstan:2.0.x Oct 9, 2024
396 of 450 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@jiripudil jiripudil deleted the merge-template-default-types branch October 10, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants